package com.htx.oldbookpavilion.service.bookinfoservice;

import com.htx.oldbookpavilion.common.StandardPageData;
import com.htx.oldbookpavilion.entity.BookInfo;
import com.htx.oldbookpavilion.entity.BookTypeDict;

import java.util.List;

public interface BookInfoService {

    /**
     * 按条件分页获取书籍信息
     * @param sPageData
     * @return
     */
    StandardPageData<BookInfo> getBooksByPage(StandardPageData<BookInfo> sPageData);

    /**
     * 获取书籍标签
     * @return
     */
    List<BookTypeDict> getBookTypeData();
}
